package impl;

import contracts.ContractException;
import services.BlocService;
import utils.Tresor;
import utils.Type;

public class BlocImpl implements BlocService{
	private Type type;
	private Tresor tresor;
	
	@Override
	public Type getType() {
		return type;
	}

	@Override
	public Tresor getTresor() {
		return tresor;
	}

	@Override
	public void init(Type type, Tresor tresor) throws ContractException {
		this.type = type;
		this.tresor = tresor;
	}

}
